Skip to content

security: standardize secret scanning on TruffleHog - #28

Merged
hyperpolymath merged 9 commits into
mainfrom
fix/licence-consistency-mpl-2.0
Jun 11, 2026
Merged

security: standardize secret scanning on TruffleHog#28
hyperpolymath merged 9 commits into
mainfrom
fix/licence-consistency-mpl-2.0

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Standardizing on TruffleHog for secret scanning.

hyperpolymath and others added 5 commits May 28, 2026 08:58
…ency CI green)

LICENSE file is MPL-2.0 but 39 satellite files declared PMPL-1.0-or-later
(SPDX headers, manifest licence fields, badge, docs). The standards
`check-licence-consistency.sh` script compares SPDX header vs each
manifest declaration and was failing on `julia-professional-registry-tests.ipkg`.

This PR resolves everything in favour of MPL-2.0 per owner directive:

- SPDX headers: `PMPL-1.0-or-later` → `MPL-2.0` across 36 files
  (workflows, .a2ml manifests, docs, ipkg, Justfile-style, scheme)
- Manifest licence fields: `stapeln.toml`, `.machine_readable/6a2/META.a2ml`
- Human-visible: GOVERNANCE/TOPOLOGY/CONTRIBUTING/llm-warmup docs
- README badge: PMPL-1.0 (palimpsest-license) → MPL-2.0 (mozilla.org)
- `guix.scm`: dropped palimpsest-license URL, points at mozilla.org MPL/2.0
- `flake.nix`: `licenses.mit` (stale comment said MIT+Palimpsest) → `mpl20`
- `contractile.just` + `contractiles/trust/Trustfile.a2ml`:
  removed `PMPL` from the grep alternation in trust-license-content

Verified locally: `bash standards/scripts/check-licence-consistency.sh`
now reports `[OK] Licence consistency check passed.`

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath
hyperpolymath enabled auto-merge June 11, 2026 21:20
@hyperpolymath
hyperpolymath merged commit f07ee47 into main Jun 11, 2026
4 checks passed
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 16 issues detected

Severity Count
🔴 Critical 0
🟠 High 1
🟡 Medium 15
View findings
[
  {
    "reason": "Action trufflesecurity/trufflehog@main needs attention",
    "type": "unpinned_action",
    "file": "secret-scanner.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in hypatia-scan.yml",
    "type": "missing_timeout_minutes",
    "file": "hypatia-scan.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in secret-scanner.yml",
    "type": "missing_timeout_minutes",
    "file": "secret-scanner.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Repository has 4 non-main remote branch(es). Policy: single main branch only.",
    "type": "GS007",
    "file": ".",
    "action": "delete_remote_branches",
    "rule_module": "git_state",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Hypatia): hypatia/workflow_audit/missing_timeout_minutes -- Hypatia workflow_audit: missing_timeout_minutes -- 11 day(s) old",
    "type": "CSA001",
    "file": "secret-scanner.yml",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Hypatia): hypatia/workflow_audit/missing_timeout_minutes -- Hypatia workflow_audit: missing_timeout_minutes -- 11 day(s) old",
    "type": "CSA001",
    "file": "scorecard.yml",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Hypatia): hypatia/workflow_audit/missing_timeout_minutes -- Hypatia workflow_audit: missing_timeout_minutes -- 11 day(s) old",
    "type": "CSA001",
    "file": "mirror.yml",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Hypatia): hypatia/workflow_audit/missing_timeout_minutes -- Hypatia workflow_audit: missing_timeout_minutes -- 11 day(s) old",
    "type": "CSA001",
    "file": "hypatia-scan.yml",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Hypatia): hypatia/workflow_audit/missing_timeout_minutes -- Hypatia workflow_audit: missing_timeout_minutes -- 11 day(s) old",
    "type": "CSA001",
    "file": "governance.yml",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Hypatia): hypatia/workflow_audit/missing_timeout_minutes -- Hypatia workflow_audit: missing_timeout_minutes -- 11 day(s) old",
    "type": "CSA001",
    "file": "codeql.yml",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath
hyperpolymath deleted the fix/licence-consistency-mpl-2.0 branch June 11, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant